package downloader;

import com.gargoylesoftware.htmlunit.HttpMethod;
import com.gargoylesoftware.htmlunit.SgmlPage;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 30.10.11
 * Time: 17:00
 */
public interface PageProvider {
    public SgmlPage getPage(String url);

    public SgmlPage getPage(String url, Map<String, String> params, HttpMethod method);
}
